[package]
name = "_ch_rust_skim_rust"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
skim = { version = "0.10.2", default-features = false }
cxx = "1.0.83"
term = "0.7.0"

[build-dependencies]
cxx-build = "1.0.83"

[lib]
crate-type = ["staticlib"]

[profile.release]
debug = false

[profile.release-thinlto]
inherits = "release"
# We use LTO here as well to slightly decrease binary size
lto = true

[patch.crates-io]
# Ref: https://github.com/lotabout/tuikit/pull/51
tuikit = { git = "https://github.com/azat-rust/tuikit.git", rev = "e1994c0e03ff02c49cf1471f0cc3cbf185ce0104" }
